package com.sofwin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_person")
public class Person {
    @TableId(value = "p_id",type = IdType.AUTO)
    private Integer pId;
    @TableField(value = "sta_id")
    private Integer staId;
    @TableField(value = "p_name")
    private String pName;

    @TableLogic
    @TableField(value = "isDelete")
    private Integer isDelete;
}
